package com.microframework.base.data.handler;

import java.util.Map;

/**
 * 数据监听器接口
 */
public interface DataListener {
    void onDataReceived(Map<String, Object> data);
    void onError(Throwable throwable);
    default void onComplete() {}
}
